package eteam.aps.model.entity.other;

import eteam.aps.model.entity.MocoRders;
import eteam.aps.model.entity.MocoRdersBordy;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 工单
 *
 * @author LiuLei
 */
@ApiModel(description = "工单", value = "Moco")
public class Moco {

    @ApiModelProperty("工单信息")
    private MocoRders mocoRders;

    @ApiModelProperty("工单物料信息")
    private List<MocoRdersBordy> mocoRdersBordyList;

    public Moco() {
    }

    public Moco(MocoRders mocoRders, List<MocoRdersBordy> mocoRdersBordyList) {
        this.mocoRders = mocoRders;
        this.mocoRdersBordyList = mocoRdersBordyList;
    }

    public MocoRders getMocoRders() {
        return mocoRders;
    }

    public void setMocoRders(MocoRders mocoRders) {
        this.mocoRders = mocoRders;
    }

    public List<MocoRdersBordy> getMocoRdersBordyList() {
        return mocoRdersBordyList;
    }

    public void setMocoRdersBordyList(List<MocoRdersBordy> mocoRdersBordyList) {
        this.mocoRdersBordyList = mocoRdersBordyList;
    }

}
